package com.smart.service;

import com.smart.dao.OrderDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by khan on 15-2-14.
 */
@Service
public class OrderService {
    @Autowired
    private OrderDao orderDao;
    public boolean createOrder(int goods_id,long cartid){

        return orderDao.addOrderToCart(goods_id,cartid);
    }



}
